package cn.net.xyan.easy.webapp.base.controller;

import cn.net.xyan.easy.webapp.base.service.IArchiveService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.PostConstruct;

/**
 * Created by xiashenpin on 16/1/17.
 */
@Controller
public class ArchiveController {
    static final public String ARCHIVEROOT = "/archive";

    Logger logger = LoggerFactory.getLogger(ArchiveController.class);

    @Autowired
    IArchiveService archiveService;

    @PostConstruct
    public void setup(){

    }

    @RequestMapping(ARCHIVEROOT)
    public String indexPage(){
        return String.format("%s/%s",ARCHIVEROOT,"index");
    }
}
